/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2013 All Rights Reserved.
 */
package com.pingan.mobilegw.biz.shared.router.executor;

import com.pingan.mobilegw.core.model.GatewayRequest;
import com.pingan.mobilegw.core.model.GatewayResponse;

/**
 * 批量请求处理器
 * 
 * @author jiadao
 * @version $Id: BatchExecutor.java, v 0.1 2013-5-14 下午9:19:37 jiadao Exp $
 */
public interface BatchExecutor {

    /**
     * 执行批量请求
     * 
     * @param gatewayRequest 网关请求
     * @return 网关响应
     */
    void execute(GatewayRequest gatewayRequest, GatewayResponse response);
}
